From: Florian Müllner Date: Tue, 26 Nov 2013 19:52:24 +0000 (+0100) Subject: loginDialog: Implement cancel() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3029 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=729c962b7ccb06c1c79773840ef9de2d8f63f927;p=gnome-shell.git loginDialog: Implement cancel() The screen shield expects a cancel() method on the unlockDialog implementation, but LoginDialog does not provide it currently. https://bugzilla.gnome.org/show_bug.cgi?id=719378 --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 67b35ade3..4389fe7ec 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -885,6 +885,10 @@ const LoginDialog = new Lang.Class({ Main.ctrlAltTabManager.removeGroup(this.dialogLayout); }, + cancel: function() { + this._authPrompt.cancel(); + }, + addCharacter: function(unichar) { this._authPrompt.addCharacter(unichar); },